 module.exports = function (UC, source, config, ArFor, cache, package) {


     UserControl = UC;

     var router = function (req, res, next) {


         var jlanguage = config.jlanguage;
         res.Json({
             "short_name": jlanguage.getval(config.name),
             "name": jlanguage.getval(config.name),
             "start_url": "./../app/index.html",
             "display": "fullscreen",
             "background_color": "#333",
             "description": config.description,
             "orientation": "portrait",
             "theme_color": "#5eace0",
             "icons": [{
                 "src": "./../../../Service/Images/" + config.icon + "/!32/j.png",
                 "type": "image/png",
                 "sizes": "32x32"
             }, {
                 "src": "./../../../Service/Images/" + config.icon + "/!48/j.png",
                 "type": "image/png",
                 "sizes": "48x48"
             }, {
                 "src": "./../../../Service/Images/" + config.icon + "/!72/j.png",
                 "type": "image/png",
                 "sizes": "72x72"
             }, {
                 "src": "./../../../Service/Images/" + config.icon + "/!96/j.png",
                 "type": "image/png",
                 "sizes": "96x96"
             }, {
                 "src": "./../../../Service/Images/" + config.icon + "/!128/j.png",
                 "type": "image/png",
                 "sizes": "128x128"
             }, {
                 "src": "./../../../Service/Images/" + config.icon + "/!144/j.png",
                 "type": "image/png",
                 "sizes": "144x144"
             }, {
                 "src": "./../../../Service/Images/" + config.icon + "/!188/j.png",
                 "type": "image/png",
                 "sizes": "188x188"
             }, {
                 "src": "./../../../Service/Images/" + config.icon + "/!192/j.png",
                 "type": "image/png",
                 "sizes": "192x192"
             }, {
                 "src": "./../../../Service/Images/" + config.icon + "/!256/j.png",
                 "type": "image/png",
                 "sizes": "256x256"
             }, {
                 "src": "./../../../Service/Images/" + config.icon + "/!512/j.png",
                 "type": "image/png",
                 "sizes": "512x512"
             }] 
         });
     }
     return router;
 };